package com.etone.smartAudit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.etone.smartAudit.domain.AuditRiskHistory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: 蒋学伟
 * @create: 2020-06-17 18:32:27
 * @Description AuditRiskRepository
 */
@Mapper
public interface AuditRiskHistoryMapper extends BaseMapper<AuditRiskHistory> {
    /**
     * 批量删除审计风险历史记录
     *
     * @param auditRiskIds
     * @return
     */
    int deleteByAuditRiskId(@Param("auditRiskIds") List<Integer> auditRiskIds);
}
